﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true"
    CodeBehind="ChangePwd.aspx.cs" Inherits="IMIS_ERP.Web.Agent_People.ChangePwd" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div class="body_top">
        <img src="../images/tab_t_l.gif" alt="" />
        <span class="f1">您当前的位置</span>：【个人信息管理】-【修改密码】
    </div>
    <div class="body_main">
        <div class="line1">
            <div class="lineLeft">
                原密码：</div>
            <div class="lineRight">
                <asp:TextBox ID="txtPwdOld" runat="server" Width="350px" TextMode="Password"></asp:TextBox>
                <asp:RequiredFieldValidator ID="rfv1" runat="server" ErrorMessage="原密码不能为空" ControlToValidate="txtPwdOld"></asp:RequiredFieldValidator>
            </div>
        </div>
        <div class="line2">
            <div class="lineLeft">
                新密码：</div>
            <div class="lineRight">
                <asp:TextBox ID="txtPwdNew1" runat="server" Width="350px" TextMode="Password"></asp:TextBox>
                <asp:RequiredFieldValidator ID="rfv2" runat="server" ErrorMessage="新密码不能为空" ControlToValidate="txtPwdNew1"></asp:RequiredFieldValidator>
            </div>
        </div>
        <div class="line1">
            <div class="lineLeft">
                确认新密码：</div>
            <div class="lineRight">
                <asp:TextBox ID="txtPwdNew2" runat="server" Width="350px" TextMode="Password"></asp:TextBox>
                <asp:RequiredFieldValidator ID="rfv3" runat="server" ErrorMessage="确认新密码不能为空" ControlToValidate="txtPwdNew2" Display="Dynamic"></asp:RequiredFieldValidator>
                <asp:CompareValidator ID="cpv" runat="server" ErrorMessage="两次输入的密码不一致" 
                    ControlToValidate="txtPwdNew2" ControlToCompare="txtPwdNew1" Display="Dynamic" ></asp:CompareValidator>
            </div>
        </div>
        <div id="bottom">
            <asp:Label ID="lblMessage" runat="server" CssClass="msg"></asp:Label><br />
            <asp:Button ID="btnSave" runat="server" Text="确定" OnClick="btnSave_Click" CssClass="btn">
            </asp:Button>
        </div>
    </div>
</asp:Content>
